//导入mongoose
const mongoose = require('mongoose')
let userSchema = new mongoose.Schema({
	username:  {type:String},
	passwrod:{type:String}
})
//创建文档模型对象
let usertModel = mongoose.model('users', userSchema)
//暴露模型对象
module.exports = usertModel
